@layout("/common/_curd/_container.html"){

<form data-url="${basePath}/${code}/update" method="post" class="form-horizontal" role="form">


	<table class="table table-bordered" >
		<input type="hidden" name="projects.id" value="${projects.id}"/>
		<tbody>
		<tr>
			<td width="300px">
				项目名称
			</td>
			<td width="900px" colspan="4">
				<input type="text" name="projects.name" value="${projects.name}"  placeholder="项目名称" class="form-control" />
			</td>
		</tr>
		<tr>
			<td width="300px">
				申报单位
			</td>
			<td width="900px" colspan="4">
				<input type="text" name="projects.dept_id" value="${projects.dept_id}"  placeholder="申报单位" class="form-control" />
			</td>
		</tr>
		<tr>
			<td width="300px">
				联系人
			</td>
			<td width="300px">
				<input type="text" name="projects.contact"  value="${projects.contact}" placeholder="联系人" class="form-control" />
			</td>
			<td width="300px">联系电话</td>
			<td width="300px" colspan="2">
				<input type="text" name="projects.phone"  value="${projects.phone}" placeholder="联系电话" class="form-control" />
			</td>
		</tr>
		<tr>
			<td width="300px">
				邮箱
			</td>
			<td width="300px">
				<input type="text" name="projects.email"  value="${projects.email}" placeholder="邮箱" class="form-control" />
			</td>
			<td width="300px">填报日期</td>
			<td width="300px" colspan="2">
				<input type="text" id="indate" name="projects.indate" class="form-control"  value="${projects.indate}" placeholder="填报日期"  />
			</td>
		</tr>
		<tr>
			<td width="300px">
				建设规模及主要建设内容
			</td>
			<td width="900px" colspan="4">
				<input type="text" name="projects.introduction"  value="${projects.introduction}" placeholder="建设规模及主要建设内容" class="form-control" />
			</td>
		</tr>
		<tr>
			<td width="300px">
				责任单位
			</td>
			<td width="900px" colspan="4">
				<input type="text" name="projects.responsible" value="${projects.responsible}"  placeholder="责任单位" class="form-control" />
			</td>
		</tr>
		<tr>
			<td width="300px">
				建设性质
			</td>
			<td width="300px">
				<blade:select type="dict" code="201" name="projects.nature" value="${projects.nature}" />
			</td>
			<td width="300px">建设起止年限</td>
			<td width="150px">
				<input type="text" id="start" name="projects.start" value="${projects.start}" class="form-control"  value="" placeholder="起始日期"  />
			</td>
			<td width="150px">
				<input type="text" id="over" name="projects.over" value="${projects.over}" class="form-control"  value="" placeholder="结束日期"  />
			</td>
		</tr>
		<tr>
			<td width="300px">
				预算（万）
			</td>
			<td width="300px">
				<input type="text" name="projects.budget" value="${projects.budget}"  placeholder="预算（万）" class="form-control" />
			</td>
			<td width="300px">预算来源</td>
			<td width="300px" colspan="2">
				<input type="text" name="projects.Source" value="${projects.Source}"  placeholder="预算来源" class="form-control" />
			</td>
		</tr>
		<tr>
			<td width="300px" colspan="5">
				至2017年底进展情况
			</td>
		</tr>
		<tr>
			<td width="300px">
				完成投资（万）
			</td>
			<td width="900px" colspan="4">
				<input type="text" name="projects.Completion" value="${projects.Completion}"  placeholder="完成投资（万）" class="form-control" />
			</td>
		</tr>
		<tr>
			<td width="300px">
				工程形象进度
			</td>
			<td width="900px" colspan="4">
				<input type="text" name="projects.progress" value="${projects.progress}"  placeholder="工程形象进度" class="form-control" />
			</td>
		</tr>
		<tr>
			<td width="300px" colspan="5">
				2018年计划安排
			</td>
		</tr>
		<tr>
			<td width="300px">
				计划投资（万）
			</td>
			<td width="900px" colspan="4">
				<input type="text" name="projects.plan_budget" value="${projects.plan_budget}" placeholder="计划投资（万）" class="form-control" />
			</td>
		</tr>
		<tr>
			<td width="300px">
				至年底工程形象进度
			</td>
			<td width="900px" colspan="4">
				<input type="text" name="projects.plan_progress" value="${projects.plan_progress}" placeholder="至年底工程形象进度" class="form-control" />
			</td>
		</tr>
		<tr>
			<td width="300px">
				附件
			</td>
			<td width="900px" colspan="4">
				@for(annex in annexs!){
				<a href="/projects/downs?file=${annex}" class="btn btn-btn btn-success btn-xs">${annex!}</a>&nbsp;
				@}
			</td>
		</tr>
		<tr>
			<td width="300px">
				备注
			</td>
			<td width="900px" colspan="4">
				<input type="text" name="projects.temarks"  placeholder="备注" value="${projects.temarks}" class="form-control" />
			</td>
		</tr>
		<tr>
			<td width="300px">
				审核意见
			</td>
			<td width="900px" colspan="4">
				${projects.audit_opinion}
			</td>
		</tr>





		<tr>
			<td>建设方案</td>
			@if(has(plan_files)){
			@for(file in plan_files){
				<td width="900px" colspan="4">
					<a href="/projects/downs?file=${file}" class="btn btn-btn btn-success btn-xs">${file}</a>&nbsp;

				</td>
			@}
			@}
		</tr>
		<tr>
			<td>专家意见</td>
			@if(has(expert_opinion)){
			<td width="900px" colspan="4">
				${expert_opinion}
			</td>
			@}
		</tr>
		<tr>
			<td>提交至会商意见</td>
			@if(has(tohs_opinion)){
			<td width="900px" colspan="4">
				${tohs_opinion}
			</td>
			@}
		</tr>
		<tr>
			<td>会商意见</td>
			@if(has(hs_opinion)){
			<td width="900px" colspan="4">
				${hs_opinion}
			</td>
			@}
		</tr>


		</tbody>
	</table>
	<script src="${basePath}/static/laydate/laydate.js"></script>
	<script type="text/javascript">
		laydate({
			elem: '#indate',
			format: 'YYYY-MM-DD', // 分隔符可以任意定义，该例子表示只显示年月日
			//festival: true, //显示节日
			choose: function(datas){ //选择日期完毕的回调
				/*   alert('得到：'+datas); */
			}
		});
	</script>
	<script type="text/javascript">
		laydate({
			elem: '#start',
			format: 'YYYY-MM-DD', // 分隔符可以任意定义，该例子表示只显示年月日
			//festival: true, //显示节日
			choose: function(datas){ //选择日期完毕的回调
				/*   alert('得到：'+datas); */
			}
		});
	</script>
	<script type="text/javascript">
		laydate({
			elem: '#over',
			format: 'YYYY-MM-DD', // 分隔符可以任意定义，该例子表示只显示年月日
			//festival: true, //显示节日
			choose: function(datas){ //选择日期完毕的回调
				/*   alert('得到：'+datas); */
			}
		});
	</script>

	<!-- 表单 -->

	<!-- 按钮 -->
	@ include("/common/_curd/_btn.html", { btn_close:"关闭"}) {}
</form>

@}
